package com.fanrui.code.entity;

import com.fanrui.code.entity.FamilyJob;
import com.fanrui.code.entity.FamilyJobExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface FamilyJobMapper {
    long countByExample(FamilyJobExample example);

    int deleteByExample(FamilyJobExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FamilyJob record);

    int insertSelective(FamilyJob record);

    List<FamilyJob> selectByExample(FamilyJobExample example);

    FamilyJob selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FamilyJob record, @Param("example") FamilyJobExample example);

    int updateByExample(@Param("record") FamilyJob record, @Param("example") FamilyJobExample example);

    int updateByPrimaryKeySelective(FamilyJob record);

    int updateByPrimaryKey(FamilyJob record);
    
    // 因为每次重新生成都要覆盖所以在这里备注
    List<FamilyJob> selectAllItem();
}